package com.ossjk.oa.accounting.service;

import java.util.List;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ossjk.oa.accounting.entity.CwSalary;
import com.ossjk.oa.attendance.vo.SalaryAttVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author chair
 * @since 2020-05-14
 */
public interface ICwSalaryService extends IService<CwSalary> {
	Page selectVoPage(Page page, Wrapper wrapper);


	SalaryAttVo selectSalaryAttvByEid(String eid, String mth);

	List<SalaryAttVo> selectSalaryAttvByDept(String did, String mth);

	//工资总额
	Float selectTotalwages(@Param("ew") Wrapper wrapper);

	//部门总额
	List<CwSalary> selectSectortotal(@Param("ew") Wrapper wrapper);

	//公司社保总额
	Float selectTotalsocial(@Param("ew") Wrapper wrapper);

}
